package com.mriassl.stream.constant;

public enum TransactionType {

    BETTING("投注", "BET", 3), REVOKE("撤单", "REVOKE", 6);
    private String name;
    private String prefix;
    private int index;

    private TransactionType(String name, String prefix, int index) {
        this.name = name;
        this.prefix = prefix;
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public String getPrefix() {
        return prefix;
    }

    public int getIndex() {
        return index;
    }

}
